package com.wangyang.stock.po;

import java.util.HashSet;
import java.util.Set;

/**
 * Merchandise entity. @author MyEclipse Persistence Tools
 */

public class Merchandise implements java.io.Serializable {

	// Fields

	private Integer merchandiseId;
	private MerchandiseUnit merchandiseUnit;
	private MerchandiseType merchandiseType;
	private String merchandiseCid;
	private String merchandiseName;
	private Integer merchandiseAmount;
	private Float merchandiseInPrice;
	private String merchandiseNorm;
	private Integer merchandiseAlert;
	private String merchandiseMemo;
	private Set storehouses = new HashSet(0);
	private Set merInvs = new HashSet(0);

	// Constructors

	/** default constructor */
	public Merchandise() {
	}

	/** full constructor */
	public Merchandise(MerchandiseUnit merchandiseUnit,
			MerchandiseType merchandiseType, String merchandiseCid,
			String merchandiseName, Integer merchandiseAmount,
			Float merchandiseInPrice, String merchandiseNorm,
			Integer merchandiseAlert, String merchandiseMemo, Set storehouses,
			Set merInvs) {
		this.merchandiseUnit = merchandiseUnit;
		this.merchandiseType = merchandiseType;
		this.merchandiseCid = merchandiseCid;
		this.merchandiseName = merchandiseName;
		this.merchandiseAmount = merchandiseAmount;
		this.merchandiseInPrice = merchandiseInPrice;
		this.merchandiseNorm = merchandiseNorm;
		this.merchandiseAlert = merchandiseAlert;
		this.merchandiseMemo = merchandiseMemo;
		this.storehouses = storehouses;
		this.merInvs = merInvs;
	}

	// Property accessors

	public Integer getMerchandiseId() {
		return this.merchandiseId;
	}

	public void setMerchandiseId(Integer merchandiseId) {
		this.merchandiseId = merchandiseId;
	}

	public MerchandiseUnit getMerchandiseUnit() {
		return this.merchandiseUnit;
	}

	public void setMerchandiseUnit(MerchandiseUnit merchandiseUnit) {
		this.merchandiseUnit = merchandiseUnit;
	}

	public MerchandiseType getMerchandiseType() {
		return this.merchandiseType;
	}

	public void setMerchandiseType(MerchandiseType merchandiseType) {
		this.merchandiseType = merchandiseType;
	}

	public String getMerchandiseCid() {
		return this.merchandiseCid;
	}

	public void setMerchandiseCid(String merchandiseCid) {
		this.merchandiseCid = merchandiseCid;
	}

	public String getMerchandiseName() {
		return this.merchandiseName;
	}

	public void setMerchandiseName(String merchandiseName) {
		this.merchandiseName = merchandiseName;
	}

	public Integer getMerchandiseAmount() {
		return this.merchandiseAmount;
	}

	public void setMerchandiseAmount(Integer merchandiseAmount) {
		this.merchandiseAmount = merchandiseAmount;
	}

	public Float getMerchandiseInPrice() {
		return this.merchandiseInPrice;
	}

	public void setMerchandiseInPrice(Float merchandiseInPrice) {
		this.merchandiseInPrice = merchandiseInPrice;
	}

	public String getMerchandiseNorm() {
		return this.merchandiseNorm;
	}

	public void setMerchandiseNorm(String merchandiseNorm) {
		this.merchandiseNorm = merchandiseNorm;
	}

	public Integer getMerchandiseAlert() {
		return this.merchandiseAlert;
	}

	public void setMerchandiseAlert(Integer merchandiseAlert) {
		this.merchandiseAlert = merchandiseAlert;
	}

	public String getMerchandiseMemo() {
		return this.merchandiseMemo;
	}

	public void setMerchandiseMemo(String merchandiseMemo) {
		this.merchandiseMemo = merchandiseMemo;
	}

	public Set getStorehouses() {
		return this.storehouses;
	}

	public void setStorehouses(Set storehouses) {
		this.storehouses = storehouses;
	}

	public Set getMerInvs() {
		return this.merInvs;
	}

	public void setMerInvs(Set merInvs) {
		this.merInvs = merInvs;
	}

}